# include <stdio.h>
int main ()
{
    int i;
  double t=1,a=0;
    for(i=1;i<=10;i++)
	{
		t*=i;
		a+=1/t;
	}
	printf("%f\n",a);
	return 0;

}